package com.acme.task4;

public class Task4Thevine {
	public static void main(String[] args){
		int t=0;
		int s=0;
		int n=0;
		int[] tsn = {3, 3, 9, 7, 7, 7, 3, 7, 9, 7};
		for (int i=0; i<tsn.length;i++){
		if (tsn[i]==3){
			t=t+1;
		}
		else{
			if (tsn[i]==7){
				s=s+1;
			}
			else{
				n=n+1;
			}
		}
		}
		System.out.println("The number of 3 = " + t);
		System.out.println("The number of 7 = " + s);
		System.out.println("The number of 9 = " + n);
		}
}
